package com.whsxt.utils;

public class FastDFSUtil {
    /*
    *
    * 解析 fastDFS 的路径参数
    * */
    public static String parseGroup(String fullPath){
        String[] paths=fullPath.split("/");
        if (paths.length<=1){
            throw  new RuntimeException("参数错误，无法解析");
        }
        return paths[0];
    }
}
